package bao;

public class Test01 {
    public static void main(String[] args) {
        String type="bmw";
        Car car= CarFactory.createCar(type);
        car.run();
    }
}
